package com.hgyc.mom.mes.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;

import com.hgyc.mom.common.annotation.Excel;
import com.hgyc.mom.core.mybatis.EQ;
import com.hgyc.mom.core.mybatis.Like;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 产品SN过站采集记录
 * </p>
 *
 * @author fwj
 * @since 2025-07-04
 */
@Data
@TableName("mes_station_collect")
@Schema(name="产品SN过站采集记录对象", description="产品SN过站采集记录对象")
public class MesStationCollect implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "")
    private Long id;

    @Schema(description = "工单ID")
    private Long workOrderId;

    @Schema(description = "工单编码")
    private String workOrderCode;

    @Schema(description = "物料ID")
    private Long materialId;

    @Excel(name = "条码")
    @EQ
    @Schema(description = "条码")
    private String sn;

    @Excel(name = "工序ID")
    @Schema(description = "工序ID")
    private Long processId;

    @Excel(name = "车间ID")
    @Schema(description = "车间ID")
    private Long workshopId;

    @Excel(name = "产线ID")
    @Schema(description = "产线ID")
    private Long lineId;

    @Excel(name = "工位ID")
    @Schema(description = "工位ID")
    private Long stationId;

    @Excel(name = "过站结果 OK/NG")
    @Schema(description = "过站结果 OK/NG")
    private String result;

    @Excel(name = "操作员")
    @Schema(description = "操作员")
    private Long operator;

    @Excel(name = "采集时间")
    @EQ
    @Schema(description = "采集时间")
    private LocalDateTime collectTime;

    @Schema(description = "备注")
    private String remark;

}